Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeChecksum ¶
ComputeChecksum computes a SHA-256 checksum of the given byte slice.
Types ¶
type LoginRequest ¶
type LoginResponse ¶
type PublishRequest ¶
type PublishResponse ¶
type PublishResponse struct {
Version Version `json:"version"`
}
type Transom ¶
type Transom struct {
// contains filtered or unexported fields
}
func NewTransom ¶
func NewTransom(cfg *config.TransomConfig, name string) (*Transom, error)
func (Transom) Login ¶
func (t Transom) Login(ctx context.Context, in *LoginRequest) (*LoginResponse, error)
func (Transom) Publish ¶
func (t Transom) Publish(ctx context.Context, in *PublishRequest) (*PublishResponse, error)
Click to show internal directories.
Click to hide internal directories.