Documentation ¶
Index ¶
- type Server
- func (s *Server) Close(ctx context.Context) (err error)
- func (s *Server) GetEndpoint(ctx context.Context) (endpoint *pb.Endpoint, err error)
- func (s *Server) Listen(ctx context.Context, host string) (err error)
- func (s *Server) SetEndpoint(ctx context.Context, endpoint *pb.Endpoint) (err error)
- func (s *Server) TemplateRead(ctx context.Context, path string) (resp *template.Template, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server wraps the rest endpoints using endpointer
func (*Server) GetEndpoint ¶
GetEndpoint returns an endpoint
func (*Server) SetEndpoint ¶
SetEndpoint sets an endpoint
Click to show internal directories.
Click to hide internal directories.