Documentation ¶
Index ¶
- func RegisterWithServer(grpcServer *grpc.Server, clientConnection *axon_utils.ClientConnection)
- type GreeterServer
- func (s *GreeterServer) Authorize(_ context.Context, credentials *grpc_example.Credentials) (*grpc_example.AccessToken, error)
- func (s *GreeterServer) ChangeCredentials(stream grpc_example.GreeterService_ChangeCredentialsServer) error
- func (s *GreeterServer) ChangeTrustedKeys(stream grpc_example.GreeterService_ChangeTrustedKeysServer) error
- func (s *GreeterServer) Greet(_ context.Context, greeting *grpc_example.Greeting) (*grpc_example.Acknowledgement, error)
- func (s *GreeterServer) Greetings(_ *grpc_example.Empty, ...) error
- func (s *GreeterServer) ListTrustedKeys(_ *grpc_example.Empty, ...) error
- func (s *GreeterServer) Record(_ context.Context, _ *grpc_example.Empty) (*grpc_example.Empty, error)
- func (s *GreeterServer) Search(query *grpc_example.SearchQuery, ...) error
- func (s *GreeterServer) SetPrivateKey(_ context.Context, request *grpc_example.PrivateKey) (*grpc_example.Empty, error)
- func (s *GreeterServer) SetProperty(_ context.Context, keyValue *grpc_example.KeyValue) (*grpc_example.Empty, error)
- func (s *GreeterServer) Stop(_ context.Context, _ *grpc_example.Empty) (*grpc_example.Empty, error)
- func (s *GreeterServer) Time(_ context.Context, accessToken *grpc_example.AccessToken) (*grpc_example.Greeting, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterWithServer ¶
func RegisterWithServer(grpcServer *grpc.Server, clientConnection *axon_utils.ClientConnection)
Types ¶
type GreeterServer ¶
type GreeterServer struct {
// contains filtered or unexported fields
}
func (*GreeterServer) Authorize ¶
func (s *GreeterServer) Authorize(_ context.Context, credentials *grpc_example.Credentials) (*grpc_example.AccessToken, error)
func (*GreeterServer) ChangeCredentials ¶
func (s *GreeterServer) ChangeCredentials(stream grpc_example.GreeterService_ChangeCredentialsServer) error
func (*GreeterServer) ChangeTrustedKeys ¶
func (s *GreeterServer) ChangeTrustedKeys(stream grpc_example.GreeterService_ChangeTrustedKeysServer) error
func (*GreeterServer) Greet ¶
func (s *GreeterServer) Greet(_ context.Context, greeting *grpc_example.Greeting) (*grpc_example.Acknowledgement, error)
func (*GreeterServer) Greetings ¶
func (s *GreeterServer) Greetings(_ *grpc_example.Empty, greetingsServer grpc_example.GreeterService_GreetingsServer) error
func (*GreeterServer) ListTrustedKeys ¶
func (s *GreeterServer) ListTrustedKeys(_ *grpc_example.Empty, streamServer grpc_example.GreeterService_ListTrustedKeysServer) error
func (*GreeterServer) Record ¶
func (s *GreeterServer) Record(_ context.Context, _ *grpc_example.Empty) (*grpc_example.Empty, error)
func (*GreeterServer) Search ¶
func (s *GreeterServer) Search(query *grpc_example.SearchQuery, greetingsServer grpc_example.GreeterService_SearchServer) error
func (*GreeterServer) SetPrivateKey ¶
func (s *GreeterServer) SetPrivateKey(_ context.Context, request *grpc_example.PrivateKey) (*grpc_example.Empty, error)
func (*GreeterServer) SetProperty ¶
func (s *GreeterServer) SetProperty(_ context.Context, keyValue *grpc_example.KeyValue) (*grpc_example.Empty, error)
func (*GreeterServer) Stop ¶
func (s *GreeterServer) Stop(_ context.Context, _ *grpc_example.Empty) (*grpc_example.Empty, error)
func (*GreeterServer) Time ¶
func (s *GreeterServer) Time(_ context.Context, accessToken *grpc_example.AccessToken) (*grpc_example.Greeting, error)
Click to show internal directories.
Click to hide internal directories.