Help us shape the future of Go! Take the 2026 Go Developer Survey

synapse

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpPollingDataset

type HttpPollingDataset []servicev4.HttpRsp_AgentServicePolling

func (*HttpPollingDataset) UnmarshalJSON

func (s *HttpPollingDataset) UnmarshalJSON(b []byte) error

type SynapseAPI

type SynapseAPI struct {
	// contains filtered or unexported fields
}

func NewSynapseAPI

func NewSynapseAPI(address string) (*SynapseAPI, error)

func NewSynapseAPIWithClient

func NewSynapseAPIWithClient(client *httpclient.HttpClient) *SynapseAPI

func (*SynapseAPI) Auth

func (s *SynapseAPI) Auth(ctx context.Context, auth *auths.HttpReqAuth) error

func (*SynapseAPI) GetServices

func (*SynapseAPI) GetToken

func (s *SynapseAPI) GetToken() string

func (*SynapseAPI) IsTokenExpired

func (s *SynapseAPI) IsTokenExpired() bool

func (*SynapseAPI) UpdateServices

func (s *SynapseAPI) UpdateServices(ctx context.Context, service *servicev4.HttpReq_AgentServiceUpdate) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL