Documentation
¶
Overview ¶
Package service is the service layer of the HTTP client SDK example. It hides the SDK's request/endpoint mechanics behind plain business methods, matching the eir apiserver client's service layout.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory interface {
Users() UserService
}
Factory is the entry point of the service layer.
func NewService ¶
func NewService(ctx context.Context, eps epclientv1.Factory) Factory
NewService creates a service Factory from the endpoint Factory.