dreamkast

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	WithCredential(auth0Domain, auth0ClientId, auth0ClientSecret, auth0Audience string) Client
	EndpointUrl() string
	ListTracks(ctx context.Context, eventAbbr string) ([]model.Track, error)
	SetSpecifiedTalkOnAir(ctx context.Context, talkId int32) error
	SetNextTalkOnAir(ctx context.Context, eventAbbr string, trackId int32) error
}

func NewClient

func NewClient(dkEndpointUrl string) (Client, error)

type ClientImpl

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

func (*ClientImpl) EndpointUrl

func (c *ClientImpl) EndpointUrl() string

func (*ClientImpl) ListTracks

func (c *ClientImpl) ListTracks(ctx context.Context, eventAbbr string) ([]model.Track, error)

func (*ClientImpl) SetNextTalkOnAir

func (c *ClientImpl) SetNextTalkOnAir(ctx context.Context, eventAbbr string, trackId int32) error

func (*ClientImpl) SetSpecifiedTalkOnAir

func (c *ClientImpl) SetSpecifiedTalkOnAir(ctx context.Context, talkId int32) error

func (ClientImpl) WithCredential added in v0.2.0

func (c ClientImpl) WithCredential(auth0Domain, auth0ClientId, auth0ClientSecret, auth0Audience string) Client

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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