Documentation ¶
Overview ¶
Package auth is a generated protocol buffer package.
It is generated from these files:
github.com/ship-os/ship-micro/examples/booking/srv/auth/proto/auth.proto
It has these top-level messages:
Request Result Customer
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAuthHandler ¶
func RegisterAuthHandler(s server.Server, hdlr AuthHandler, opts ...server.HandlerOption)
Types ¶
type AuthHandler ¶
type AuthService ¶
type AuthService interface {
VerifyToken(ctx context.Context, in *Request, opts ...client.CallOption) (*Result, error)
}
func NewAuthService ¶
func NewAuthService(serviceName string, c client.Client) AuthService
Click to show internal directories.
Click to hide internal directories.