Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApiController ¶ added in v0.4.0
type ApiController struct {
// contains filtered or unexported fields
}
func NewApiController ¶ added in v0.4.0
func NewApiController(s *service.PhotoService, d *service.DaemonService) ApiController
func (*ApiController) Serve ¶ added in v0.4.0
func (c *ApiController) Serve()
type EmailCustomClaims ¶ added in v0.4.0
type EmailCustomClaims struct {
Email string `json:"email"`
}
EmailCustomClaims contains custom data we want from the token.
type GrpcController ¶ added in v0.4.0
type GrpcController struct { daemonv1.UnimplementedDaemonServiceServer // contains filtered or unexported fields }
func NewGrpcController ¶ added in v0.4.0
func NewGrpcController(s *service.DaemonService) GrpcController
func (*GrpcController) HeartBeat ¶ added in v0.4.0
func (c *GrpcController) HeartBeat(_ context.Context, req *daemonv1.HeartBeatRequest) (*daemonv1.HeartBeatResponse, error)
func (*GrpcController) Register ¶ added in v0.4.0
func (c *GrpcController) Register(_ context.Context, req *daemonv1.RegisterRequest) (*daemonv1.RegisterResponse, error)
func (*GrpcController) Serve ¶ added in v0.4.0
func (c *GrpcController) Serve()
type HttpStatusError ¶ added in v0.6.0
type HttpStatusError struct {
// contains filtered or unexported fields
}
func (*HttpStatusError) Error ¶ added in v0.6.0
func (e *HttpStatusError) Error() string
func (*HttpStatusError) HTTPStatus ¶ added in v0.6.0
func (e *HttpStatusError) HTTPStatus() int
Click to show internal directories.
Click to hide internal directories.