Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { v1.UnimplementedHostInfoServiceServer // contains filtered or unexported fields }
func NewService ¶
func (*Service) Info ¶
func (s *Service) Info(_ context.Context, _ *v1.InfoRequest) (*v1.InfoResponse, error)
func (*Service) ListenAndServe ¶
type ServiceOption ¶
type ServiceOption func(*Service)
func WithGrpcGatewayAddr ¶
func WithGrpcGatewayAddr(addr string) ServiceOption
func WithHttpServeMux ¶
func WithHttpServeMux(mux *runtime.ServeMux) ServiceOption
Click to show internal directories.
Click to hide internal directories.