svc

package
v0.0.0-...-bdd2a71 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Oss

type Oss struct {
	Client     *oss.Client
	BaseUrl    string
	BucketName string
}

type ServiceContext

type ServiceContext struct {
	Config config.Config

	UserRpc userservice.UserService

	Xorm         *xorm.Engine
	VideoInfo    *xorm.Session
	VideoComment *xorm.Session

	Mongo         *mongo.Database
	VideoFavorite *mongo.Collection

	Redis *redis.Client

	RmqCore *utils.RabbitmqCore

	Json jsoniter.API
	Oss  *Oss
}

func NewServiceContext

func NewServiceContext(c config.Config) *ServiceContext

Jump to

Keyboard shortcuts

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