Documentation ¶
Index ¶
- Constants
- func ForceColor() bool
- func GetEnvFiles(root string) ([]string, error)
- func MapToHttpCookies(m map[string]string) []*http.Cookie
- func NoRedirectClient(client *http.Client) *http.Client
- func NoRedirectHttpClient() *http.Client
- type GrpcGatewayServer
- func (s *GrpcGatewayServer) Endpoint() (*url.URL, error)
- func (s *GrpcGatewayServer) Endpoints() ([]*url.URL, error)
- func (s *GrpcGatewayServer) GrpcRegistrar() grpc.ServiceRegistrar
- func (s *GrpcGatewayServer) HttpRegistrar() *ghttp.Server
- func (s *GrpcGatewayServer) ServiceName() string
- func (s *GrpcGatewayServer) Start(ctx context.Context) error
- func (s *GrpcGatewayServer) Stop(ctx context.Context) error
Constants ¶
View Source
const (
UA = `` /* 135-byte string literal not displayed */
)
Variables ¶
This section is empty.
Functions ¶
func ForceColor ¶ added in v0.3.2
func ForceColor() bool
func GetEnvFiles ¶ added in v0.3.2
func NoRedirectHttpClient ¶
Types ¶
type GrpcGatewayServer ¶ added in v0.2.0
type GrpcGatewayServer struct {
// contains filtered or unexported fields
}
func NewGrpcGatewayServer ¶ added in v0.2.0
func NewGrpcGatewayServer(config *conf.GrpcServer) *GrpcGatewayServer
func (*GrpcGatewayServer) Endpoint ¶ added in v0.2.0
func (s *GrpcGatewayServer) Endpoint() (*url.URL, error)
func (*GrpcGatewayServer) Endpoints ¶ added in v0.2.0
func (s *GrpcGatewayServer) Endpoints() ([]*url.URL, error)
func (*GrpcGatewayServer) GrpcRegistrar ¶ added in v0.2.0
func (s *GrpcGatewayServer) GrpcRegistrar() grpc.ServiceRegistrar
func (*GrpcGatewayServer) HttpRegistrar ¶ added in v0.2.0
func (s *GrpcGatewayServer) HttpRegistrar() *ghttp.Server
func (*GrpcGatewayServer) ServiceName ¶ added in v0.2.0
func (s *GrpcGatewayServer) ServiceName() string
Click to show internal directories.
Click to hide internal directories.