Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { SetUserAgent(software, version string) RegisterHostRemap(host string, remap string, useHttps bool) Commit(ctx context.Context, domain, body string, response any, opts *Options) (*http.Response, error) GetEntity(ctx context.Context, domain, address string, opts *Options) (core.Entity, error) GetMessage(ctx context.Context, domain, id string, opts *Options) (core.Message, error) GetAssociation(ctx context.Context, domain, id string, opts *Options) (core.Association, error) GetProfile(ctx context.Context, domain, address string, opts *Options) (core.Profile, error) GetTimeline(ctx context.Context, domain, id string, opts *Options) (core.Timeline, error) GetChunks(ctx context.Context, domain string, timelines []string, queryTime time.Time, opts *Options) (map[string]core.Chunk, error) GetKey(ctx context.Context, domain, id string, opts *Options) ([]core.Key, error) GetDomain(ctx context.Context, domain string, opts *Options) (core.Domain, error) GetChunkItrs(ctx context.Context, domain string, timelines []string, epoch string, opts *Options) (map[string]string, error) GetChunkBodies(ctx context.Context, domain string, query map[string]string, opts *Options) (map[string]core.Chunk, error) GetRetracted(ctx context.Context, domain string, timelines []string, opts *Options) (map[string][]string, error) }
Click to show internal directories.
Click to hide internal directories.