code: func NewLocalAuthenticator(kvs map[string]string) *LocalAuthenticator {
  	return &LocalAuthenticator{
  		kvs:     kvs,
  		stopped: make(chan struct{}),
  	}
  }
docs: // NewLocalAuthenticator creates an Authenticator that authenticates client by local infos.