api

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartAPI

func StartAPI(conf *config.Config) error

Types

type NoArgs

type NoArgs struct {
}

type Server

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

func (*Server) Fees

func (s *Server) Fees(ctx context.Context, _ *NoArgs) (interface{}, error)

func (*Server) TokenAccount

func (s *Server) TokenAccount(ctx context.Context, url *URL) (interface{}, error)

func (*Server) Tokens

func (s *Server) Tokens(ctx context.Context, _ *NoArgs) (interface{}, error)

type URL

type URL struct {
	URL string `json:"url"`
}

Jump to

Keyboard shortcuts

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