Documentation ¶
Index ¶
- type GrpcService
- func (g GrpcService) DeleteSession(ctx context.Context, request *session.DeleteSessionRequest) (*emptypb.Empty, error)
- func (g GrpcService) GetSession(ctx context.Context, request *session.GetSessionRequest) (*session.GetSessionResponse, error)
- func (g GrpcService) SetSession(ctx context.Context, request *session.SetSessionRequest) (*emptypb.Empty, error)
- type HttpService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrpcService ¶
type GrpcService struct {
// contains filtered or unexported fields
}
func NewGrpcService ¶
func NewGrpcService(application handlers.Application) GrpcService
func (GrpcService) DeleteSession ¶
func (g GrpcService) DeleteSession(ctx context.Context, request *session.DeleteSessionRequest) (*emptypb.Empty, error)
func (GrpcService) GetSession ¶
func (g GrpcService) GetSession(ctx context.Context, request *session.GetSessionRequest) (*session.GetSessionResponse, error)
func (GrpcService) SetSession ¶
func (g GrpcService) SetSession(ctx context.Context, request *session.SetSessionRequest) (*emptypb.Empty, error)
type HttpService ¶
type HttpService struct {
// contains filtered or unexported fields
}
func NewHttpService ¶
func NewHttpService(application handlers.Application) HttpService
func (HttpService) DeleteSession ¶
func (h HttpService) DeleteSession(w http.ResponseWriter, r *http.Request, sessionId string)
func (HttpService) GetSession ¶
func (h HttpService) GetSession(w http.ResponseWriter, r *http.Request, sessionId string)
func (HttpService) SetSession ¶
func (h HttpService) SetSession(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.