Client Authorization Middleware usage func WithClientIDAndPassKeyAuthorization func WithClientIDAndPassKeyAuthorization(authenticator ClientAuthenticator) middleware type ClientAuthenticator type ClientAuthenticator interface { Authenticate(clientID, passKey string) error } type ClientAuthentication type ClientAuthentication struct { } func NewClientAuthentication func NewClientAuthentication(authConfig *Config) *ClientAuthentication func (*ClientAuthentication) Authenticate func (ca *ClientAuthentication) Authenticate(clientID, passKey string) error type Config type Config struct { } func NewConfig func NewConfig(dbDriver, dbConnURL string) *Config