Documentation
¶
Overview ¶
Package hermers is the official Hermers Go SDK (REST + gRPC).
The Hermers server is private / proprietary. This module is open source and describes the public client APIs only.
Prefer importing the rest and grpc subpackages:
import "github.com/aduki-org/hermers-go/rest" import "github.com/aduki-org/hermers-go/grpc"
Index ¶
- Constants
- func Connect(ctx context.Context, apiKey string) (*hermesgrpc.Client, error)
- func ConnectWithOptions(ctx context.Context, apiKey string, opts hermesgrpc.Config) (*hermesgrpc.Client, error)
- func New(apiKey string) (*rest.Hermes, error)
- func NewWithOptions(apiKey string, opts rest.Config) (*rest.Hermes, error)
- type GrpcConfig
- type GrpcIdentity
- type Hermes
- type HermesError
- type HermesGrpc
- type HermesGrpcError
- type Identity
- type RestConfig
Constants ¶
View Source
const BaseEndpoint = hermesgrpc.BaseEndpoint
View Source
const BaseURL = rest.BaseURL
View Source
const Version = "0.1.0"
Version is the SDK semver.
Variables ¶
This section is empty.
Functions ¶
func ConnectWithOptions ¶
func ConnectWithOptions(ctx context.Context, apiKey string, opts hermesgrpc.Config) (*hermesgrpc.Client, error)
ConnectWithOptions constructs a gRPC client with options.
Types ¶
type HermesError ¶
Re-export common REST symbols for a short import path.
type RestConfig ¶
Re-export common REST symbols for a short import path.
Click to show internal directories.
Click to hide internal directories.