service

package
v0.0.0-...-c1d610b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

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 (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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL